package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.entity.BusinessTrackRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商机跟进记录Mapper接口
 */
@Mapper
public interface BusinessTrackRecordMapper extends BaseMapper<BusinessTrackRecord> {
    /**
     * 根据商机ID查询跟进记录列表
     * @param businessId 商机ID
     * @return 跟进记录列表
     */
    List<BusinessTrackRecord> selectByBusinessId(@Param("businessId") Integer businessId);
}